from .app import PortfolioTraderApp
from .ui.main_window import PortfolioTraderWindow

__all__ = ['PortfolioTraderApp']

def create_window():
    """创建并显示主窗口"""
    window = PortfolioTraderWindow()
    window.show()
    return window 